
## Installing Windows QFE for Windows 2008 only, not R2
$WindowsVersion  = $(get-wmiobject -class "Win32_OperatingSystem" -namespace "root\CIMV2").Version
Write-Host -ForegroundColor Yellow "Office: Installing Required Hotfix KB974405. (Geneva Framework)"
$Hotfix = Get-WmiObject -class "Win32_QuickFixEngineering" | where { $_.HotfixID -eq "KB974405" }

	if ($Hotfix -eq $null){
	
		& ".\Scripts\Geneva\Windows6.1-KB974405-x64.msu" /quiet /norestart
		Write-Host -ForegroundColor Yellow "Office: Installing Required Hotfix KB974405.  (Geneva Framework) COMPLETED"
	
	}else {
	Write-Host -ForegroundColor Gray "Office: Installing Required Hotfix KB974405.  (Geneva Framework) Already Installed Skipping"
	}

